package com.qingfeng.medical.biz.order.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 体检报告表
 *
 * @author 清风学Java
 * @date 2023-05-16 00:23:14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "体检报告表")
public class ExaminationSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单Id不能为空")
    private Long orderId;

    @ApiModelProperty(value = "用户Id")
    @NotNull(message = "用户Id不能为空")
    private Long userId;

    @ApiModelProperty(value = "就诊人Id")
    @NotNull(message = "就诊人Id不能为空")
    private Long patientId;

    @ApiModelProperty(value = "体检报告链接")
    @NotBlank(message = "体检报告链接不能为空")
    private String physicalUrl;
}
